[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CARRIER() (INTEGER)

 Function
  Determine what speed the current caller is connected at as reported
  by the modem to PCBoard.

 Syntax
  CARRIER()   No arguments are required

 Return Type & Value
  INTEGER
  Returns an integer with the connect speed of the current caller.

 Remarks
  Should the need arise for you to know what speed the caller is connected
  to the BBS at, this function will return that information.  You should
  note that this information is not guaranteed accurate.  It is the
  responsibility of the modem to tell PCBoard the actual connect speed,
  especially in locked port environments.

  For example, if your serial port is locked at 38400 bps, the modem can
  usually be configured to report either the actual connect speed
  (9600 bps, for example) or the locked port rate (38400 bps).  PCBoard has
  to trust the modem; if the modem tells it 38400, it will have to live
  with that, as will your PPL applications.

 Examples
  IF (CARRIER() < 9600) THEN
    PRINTLN "Sorry, downloads are not permitted at speeds below 9600 bps"
    END
  ENDIF

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson